import Taro from '@tarojs/taro'

class Storage {
    set( key, value ) {
        return Taro.setStorageSync(key, value);
    }
    get(key) {
        return Taro.getStorageSync(key);
    }
}

const s = new Storage();

export default s;